package com.bw.module_home.home.api

import com.bw.lib_common.api.BaseApiServer
import com.bw.module_home.home.model.HomeResult
import com.bw.lib_net.http.BaseResponse
import retrofit2.http.GET
import retrofit2.http.Query

interface HomeApiServer: BaseApiServer {
    @GET("/api/announcements")
    suspend fun getHomeList(@Query("page")page:Int, @Query("size")size:Int): BaseResponse<List<HomeResult>>
}